home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Sep 90 / MacApp.Tech$ 9⁄7⁄90 / 1904-Discrepancy in MacAp-Sep90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.5 KB  |  42 lines  |  [TEXT/GEOL]

  1. Item    1671414                         4-Sept-90        17:57PDT
  2.  
  3. From:   ABI.FC                          Applied BioSystems, Foster City,VAR
  4.  
  5. To:     MACAPP.TEST                     MacApp SQA Team
  6.         MACDTS                          Macintosh Developer Tech Supt
  7.         MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Discrepancy in MacApp patch 2
  10.  
  11. The version P2 patches to MacApp 2.0 differ from the text of Technote 280a in
  12. regards to Bug #7 of Global Routines and Interfaces: VisibleRect.  What's
  13. worse, I think the patches are wrong, and the text is correct.  The text says:
  14.  
  15. ----
  16. Fix:   The final fix has not yet been determined.  However, you may be able to
  17. kludge things by modifying TWindow.Update in the file UMacApp.TWindow.p. Right
  18. before _BeginUpdate, add the follwing line:
  19.  
  20.               gUpdating := TRUE;
  21.  
  22.    Next, add the following line right after both calls to _EndUpdate:
  23.  
  24.               gUpdating := FALSE;
  25. ----
  26.  
  27. This sounds good to me.  Unfortunately, the patches put the gUpdating
  28. assignment before and after the InvalidateFocus calls which immediately precede
  29. and follow _BeginUpdate and _EndUpdate.  This means that calls to VisibleRect
  30. from within InvalidateFocus will not be constrained by the port's visRgn.
  31. While this whole thing is somewhat of a kludge, I think that what the patch
  32. does is worse that what the text says, so I suggest that Apple fix the patch.
  33. Otherwise, Apple should at least fix the Technote.
  34.  
  35.  
  36. Thanks,
  37. Jeremy Grodberg
  38. Applied Biosystems
  39. AppleLink: ABI.FC  (Please put 'JDG' somewhere on the subject line)
  40.  
  41.  
  42.